package cn.wad.dao.impl;


import cn.wad.dao.UserDao;
import cn.wad.doman.User;
import cn.wad.util.JDBCUtils;

/*public class ImplUserDao implements UserDao {
    JdbcTemplate template = new JdbcTemplate(JDBCUtils.getDataSource());
    @Override
    public User findByUser(User user) {
        String sql = "select * from user where username = ? ";

        return template.queryForObject(sql,new BeanPropertyRowMapper<User>(User.class),user.getUsername());

    }
}*/
